/** 
 * Licensed to the Apache Software Foundation (ASF) under one or more
 * contributor license agreements.  See the NOTICE file distributed with
 * this work for additional information regarding copyright ownership.
 * The ASF licenses this file to You under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with
 * the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */
package com.tompai.oa.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * 通知通告发送记录
 *
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2017-10-10 11:08:06
 */
public class NotifyRecordDO implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	private Long id;
	// 通知通告ID
	private Long notifyId;
	// 接受人
	private Long userId;
	// 阅读标记
	private Integer isRead;
	// 阅读时间
	private Date readDate;

	/**
	 * 设置：编号
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * 获取：编号
	 */
	public Long getId() {
		return id;
	}

	/**
	 * 设置：通知通告ID
	 */
	public void setNotifyId(Long notifyId) {
		this.notifyId = notifyId;
	}

	/**
	 * 获取：通知通告ID
	 */
	public Long getNotifyId() {
		return notifyId;
	}

	/**
	 * 设置：接受人
	 */
	public void setUserId(Long userId) {
		this.userId = userId;
	}

	/**
	 * 获取：接受人
	 */
	public Long getUserId() {
		return userId;
	}

	/**
	 * 设置：阅读标记
	 */
	public void setIsRead(Integer isRead) {
		this.isRead = isRead;
	}

	/**
	 * 获取：阅读标记
	 */
	public Integer getIsRead() {
		return isRead;
	}

	/**
	 * 设置：阅读时间
	 */
	public void setReadDate(Date readDate) {
		this.readDate = readDate;
	}

	/**
	 * 获取：阅读时间
	 */
	public Date getReadDate() {
		return readDate;
	}

	@Override
	public String toString() {
		return "NotifyRecordDO{" + "id=" + id + ", notifyId=" + notifyId + ", userId=" + userId + ", isRead=" + isRead
				+ ", readDate=" + readDate + '}';
	}
}
